package cn.hk.archives.mapper;

import cn.hk.archives.domain.cart;
import cn.hk.archives.domain.cartExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface cartMapper {
    long countByExample(cartExample example);

    int deleteByExample(cartExample example);

    int deleteByPrimaryKey(Long id);

    int insert(cart record);

    int insertSelective(cart record);

    List<cart> selectByExample(cartExample example);

    cart selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") cart record, @Param("example") cartExample example);

    int updateByExample(@Param("record") cart record, @Param("example") cartExample example);

    int updateByPrimaryKeySelective(cart record);

    int updateByPrimaryKey(cart record);
}